<!DOCTYPE html>
<html>
<body>
<script src="../resources/runner.js"></script>
<script>
var element;

PerfTestRunner.measureTime({
    description: "Measures performance of changing a DOM element's title property.",

    setup: function() {
        element = document.createElement('div');
    },

    run: function() {
        for (var i = 0; i < 500000; ++i) {
            element.title = 'title1';
            element.title = 'title2';
        }
    }
});
</script>
</body>
</html>
